<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="zh-cmn">
<head>
    <base href="${pageContext.request.contextPath}/">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>华君医院-登录</title>
    <link rel="stylesheet" href="statics/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="statics/css/styles.css">
</head>
<body>
<div class="htmleaf-container">
	
	<div class="wrapper">
		<div class="container">
			<div style="text-align:center;font:50px/50px 宋体;font-weight:bolder; color:#000000">
				<p>华君医院管理系统</p>
			</div>
			<div class="panel panel-info" style="margin-top:50px">
				<div class="panel-heading">
					<h1>Welcome</h1>
				</div>
				<div class="panel-body" style="height: 300px">
					<form class="form-horizontal" action="login" method="post" style="font-size: 16px">
						<div class="form-group" style="margin-top: 40px">
							<label for="" class="control-label col-md-3 text-right">用户名：</label>
				  			<div class="col-md-8">
				  				<input type="text" name="mgName" class="form-control" placeholder="请输入用户名"/>
				  			</div>
						</div>
						<div class="form-group" style="margin-top: 40px">
							<label for="" class="control-label col-md-3 text-right">密码：</label>
					  		<div class="col-md-8">
					  			<input type="password" name="mgPWD" class="form-control" placeholder="请输入密码"/>
					  		</div>
						</div>
					  	<c:if test="${not empty errors}">
			 			 	<div class="alert col-md-12 text-center" style="color: red;text-decoration: underline;height: 10px"><i class="glyphicon glyphicon-remove"></i>${errors}</div>
			  			</c:if>
					<button type="submit" id="login-button" class="btn btn_success" style="width: 40%;font-size: 18px;margin-top: 20px">登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录</button>
					</form>
				</div>
			</div>
		</div>
		<ul class="bg-bubbles">
			<li></li>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
			<li></li>
		</ul>
	</div>
</div>

<script type="text/javascript" src="statics/js/jquery-1.12.4.js"></script>
<script type="text/javascript" src="statics/js/bootstrap.js"></script>
</body>
</html>